
import './index.scss'
const Maylike = (props) => {
  const { list } = props
  return <div className='mytop'>

    <div className='mylike'>
      <div className='h3'>您可能还喜欢</div>
      <div className='myliketitle'>
        {list.map((item, index) => <div className='mybox' key={index}>
          <img src={item.photoPath} alt="" />
          <div className='myname'>{item.name}</div>
          <div className='myprice'>￥{item.price}</div>
        </div>)}

      </div>
    </div>

  </div>
}


export default Maylike 